package com.example.eda.mapper;


import com.example.eda.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    User findByUsername(String username);

    void save(User user);

    void update(User user);

    void delete(Long id);

    User findById(Long id);
}
